package manager
{
	import flash.display.MovieClip;
	
	import view.tank.ATank;
	import view.tank.BTank;

	public class TankName
	{
		public static const A_TANK:String = "A";
		
		public static const B_TANK:String = "B";
		
		public static function getTankCls(type:String):Class{
			var cls:Class;
			switch(type){
				case A_TANK:
					cls = ATank;
					break;
				case B_TANK:
					cls = BTank;
					break;
			}
			return cls;
		}
		
		public static function getTankClsForClip(type:String):Class{
			var cls:Class;
			switch(type){
				case A_TANK:
					cls = ATankCls;
					break;
				case B_TANK:
					cls = BTankCls;
					break;
			}
			return cls;
		}
	}
}